#!/usr/bin/env bash

# Filename     :	centos8_use_aliyun_base_epel.sh
# Last modified:	2024-04-27 12:12
# Version      :
# Author       : bigbigwood
# Email        : bigbigwood@gmail.com
# Description  : source <(curl -sL https://gitee.com/bigbigwood/infra/raw/master/linux/centos8/centos8_aliyun_base_epel.repo)
# ******************************************************

[ -d /etc/yum.repos.d.bak ] || mkdir /etc/yum.repos.d.bak

mv /etc/yum.repos.d/* /etc/yum.repos.d.bak/
curl -o  /etc/yum.repos.d/aliyun_base_epel.repo   https://gitee.com/bigbigwood/infra/raw/master/linux/centos8/centos8_aliyun_base_epel.repo
dnf clean all && dnf makecache